<template>
  <div class="cart-setting-page">
    <div class="setting-header">
      <svg class="back-arrow" viewBox="0 0 24 43" @click="$router.back()">
        <path d="M20 2 L4 21.5 L20 41" stroke="#222" stroke-width="4" fill="none" stroke-linecap="round"/>
      </svg>
      <span class="setting-title">购物车设置</span>
    </div>
    <div class="setting-content">
      <div class="setting-block">
        <div class="setting-block-title">清空购物车</div>
        <div class="setting-block-desc">一键清空购物车内所有商品，操作不可撤销。</div>
        <button class="setting-btn">清空</button>
      </div>
      <div class="setting-block">
        <div class="setting-block-title">心愿单管理</div>
        <div class="setting-block-desc">管理你的心愿单商品，支持批量删除。</div>
        <button class="setting-btn">管理心愿单</button>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'MarketCartSetting'
}
</script>

<style scoped>
.cart-setting-page {
  background: #f7f7f7;
  min-height: 100vh;
  max-width: 750px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.setting-header {
  display: flex;
  align-items: center;
  height: 120px;
  border-bottom: 2px solid #f0f0f0;
  padding: 0 48px 0 48px;
  font-size: 0;
  position: relative;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.back-arrow {
  width: 48px;
  height: 48px;
  margin-right: 32px;
  cursor: pointer;
  display: block;
}
.setting-title {
  font-size: 56px;
  font-weight: 900;
  color: #fe2c55;
  letter-spacing: 2px;
  flex: 1;
  text-align: left;
}
.setting-content {
  padding: 64px 48px 0 48px;
}
.setting-block {
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 8px 32px rgba(254,44,85,0.10);
  margin-bottom: 64px;
  padding: 56px 48px 48px 48px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.setting-block-title {
  font-size: 40px;
  color: #fe2c55;
  font-weight: bold;
  margin-bottom: 24px;
}
.setting-block-desc {
  font-size: 30px;
  color: #888;
  margin-bottom: 36px;
}
.setting-btn {
  background: #fe2c55;
  color: #fff;
  font-size: 32px;
  border: none;
  border-radius: 24px;
  padding: 22px 80px;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(254,44,85,0.10);
  cursor: pointer;
  transition: background 0.2s;
}
.setting-btn:hover {
  background: #e01d4c;
}
</style> 